import fetch from '@/utils/fetch2'
import fetch2 from '@/utils/fetch3'

export function orgTree(query) {
  return fetch({
    method: 'post',
    url: '/api/cfg/org/tree',
    data: query
  })
}

export function fileTree(query) {
  return fetch2({
    method: 'get',
    url: '/FE/findPXJC.sg?node=' + query
  })
}
